package session.stateless.FRM;

import entity.FRM.CustomerPayment;
import java.util.List;
import javax.ejb.Local;

@Local
public interface CustomerPaymentBeanLocal {
    
    public Long createCustomerPayment_CIA(Long customerInvoiceId, Double paymentAmount);
    public Long createCustomerPayment(Long customerInvoiceId, Double paymentAmount);
    
    public boolean isValid_checkPaymentCIA(Long customerInvoiceId, Double paymentAmount);
    public boolean isValid_checkPayment(Long customerInvoiceId, Double paymentAmount);
    public List<CustomerPayment> getAllCustomerPayments();
}
